import React from 'react';
import { goSystem, setScrollTop} from "../../../assets/js/utils";


class sencMob extends React.Component{
    componentDidMount(){
        this.goSystem();
        setTimeout(()=>{

        },100)
        setScrollTop(window.base.pages.index.iScrollTop);
    }
    //跳转平台
    goSystem(){
        goSystem(this.props,'senc')
    }
    //页面离开时调用，页面离开时去除滚动事件解决页面切换时内存泄漏，
    componentWillUnmount(){
        window.removeEventListener('scroll',setScrollTop());
        this.setState=(state,callback)=>{
            return;
        }
    }
    render(){
        return(
            <div>移动端</div>
        )
    }
}
export default sencMob
